/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.yuecai.modules.yc_goods_sku.service.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
* @website https://el-admin.vip
* @description /
* @author dm
* @date 2020-06-29
**/
@Data
public class YcGoodsSkuDto implements Serializable {

    private Long id;

    /** 商品ID */
//    private Long goodId;

    /** 规格 */
    private String specValues;

    /** 库存 */
    private Integer stock;

    /** 是否限购， */
    private Boolean isForPurchasin;

    /** 限购 */
    private Integer forPurchasing;

    /** 原价 */
    private BigDecimal originalPrice;

    /** 销售价 */
    private BigDecimal sellPrice;

    /** 缩略图 */
    private String image;

    /** 销量 */
    private Integer sales;

    /** 创建时间 */
    private Timestamp createTime;

    /** 更新时间 */
    private Timestamp updateTime;


    private String unit;


    private BigDecimal unitPrice;

}